#ifndef APPENDERFACTORY_H
#define APPENDERFACTORY_H

#include "Types.h"
#include "Appender.h"
#include "FileAppender.h"

namespace logging {

enum AppenderTypes { FILE_APPENDER, DB_APPENDER, SOCKET_APPENDER };

class AppenderFactory
{
public:
	static Appender* create(const char *name, AppenderTypes type);

private:
	AppenderFactory();
};

}

#endif /* APPENDERFACTORY_H */
